<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>内容列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 13px;
}
-->
</style>



</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
    <td height="30" background="images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[内容管理]-[内容列表]</td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                      <input type="checkbox" name="checkbox62" value="checkbox" />
                    </div></td>
                    <td class="STYLE1"><div align="center">全选</div></td>
                  </tr>
                </table></td>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="images/22.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center">新增</div></td>
                  </tr>
                </table></td>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="images/33.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center">修改</div></td>
                  </tr>
                </table></td>
                <td width="52"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="images/11.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center">删除</div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#a8c7ce">
						<tr>

							<td height="20" colspan="9" bgcolor="d3eaef" class="STYLE4">
								<form method="post" action="right.jsp">
									标题:
									<span class="STYLE1"> <input type="text"
											name="contextTitle" size="24" value="${contextTitle }" /> </span>&nbsp;&nbsp;发布者:&nbsp;&nbsp;
									<span class="STYLE1"> <input type="text"
											name="contextAuthor" size="24" value="${contextAuthor }" />&nbsp;&nbsp;
										<select name="contextType">
											<option value="不限">
												--不限--
											</option>
											<option value="图片">
												--图片--
											</option>
											<option value="文字">
												--文字--
											</option>
											<option value="视频">
												--视频--
											</option>
										</select>&nbsp;&nbsp; <select name="lanmuId">
											<option value="0">
												--不限--
											</option>
											<option value="${lanmuList.lanmuId }">
												${lanmuList.name }
											</option>
											<c:forEach items="${lanmuList.lanmus}" var="currentLanmu">
												<option value="${currentLanmu.lanmuId}">
													${currentLanmu.name }
												</option>
												<c:forEach items="${currentLanmu.lanmus}" var="lanmu">
													<option value="${lanmu.lanmuId}">
														--${lanmu.name }
													</option>
												</c:forEach>
											</c:forEach>
										</select> </span>&nbsp;&nbsp;
									<input type="submit" value="搜索" />
								</form>
							</td>

						</tr>

						<tr>
							<td>
								<form action="control/deleteAllContexts.jsp" method="post"
									name="contextIdsForm" id="contextIdsForm">
									
									<tr>
										<td width="3%" height="20" bgcolor="d3eaef" class="STYLE4">

											<div align="center">
												<input type="checkbox" name=allcheckbox id="allcheckbox"
													onclick="javascript:contextsIdchoice();"
/>
											</div>

										</td>
										<td width="7%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">ID</span>
											</div>
										</td>
										<td width="28%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">标题</span>
											</div>
										</td>
										<td width="10%" height="20" bgcolor="d3eaef" >
											<div align="center">
												<span class="STYLE4">内容类型</span>
											</div>
										</td>
										<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">发布者</span>
											</div>
										</td>
										<td width="6%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">点击</span>
											</div>
										</td>
										<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">发布时间</span>
											</div>
										</td>
										<td width="7%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">状态</span>
											</div>
										</td>
										<td width="16%" height="20" bgcolor="d3eaef" class="STYLE6">
											<div align="center">
												<span class="STYLE4">操作选项</span>
											</div>
										</td>
									</tr>

									<c:forEach items="${contextList}" var="currentContext">
										<tr>
											<td height="20" bgcolor="#FFFFFF">
												<div align="center">
													<input type="checkbox" name="contextIdCheckbox"
														id="contextIdCheckbox"
														value="${currentContext.contextId }" />
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.contextId }
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.contextTitle }
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.contextType }
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.contextAuthor }
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													<span class="STYLE4">${currentContext.clickNumber }</span>
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.contextTime}
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF" class="STYLE1">
												<div align="center">
													${currentContext.level}
												</div>
											</td>
											<td height="20" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE21"><a
														style="color: #344b50; text-decoration: none;" href="#"
														onclick="if(window.confirm('你确定删除该记录吗?')){window.location.href('control/deletecontext.jsp?contextId=${currentContext.contextId }')}">删除</a>
														| <a style="color: #344b50; text-decoration: none;"
														href="viwercontext.jsp?contextId=${currentContext.contextId }">查看</a>|<a style="color: #344b50; text-decoration: none;"
														href="contextupdate.jsp?contextId=${currentContext.contextId }">修改</a>
													</span>
												</div>
											</td>
										</tr>
									</c:forEach>
									<tr>
										<td height="20" colspan="9" bgcolor="#FFFFFF" class="STYLE1">
											&nbsp;&nbsp;
											<input type="button" value="批量删除" onclick="if(window.confirm('你确定删除该记录吗?')){submit();}" />
										</td>
									</tr>
									
								</form>

							</td>
						</tr>

					</table>


		</td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td>
</td>
  </tr>
 

  <tr>
    <td height="35" background="images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="STYLE4">&nbsp;&nbsp;共有 120 条记录，当前第 1/10 页</td>
            <td><table border="0" align="right" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="40"><img src="images/first.gif" width="37" height="15" /></td>
                  <td width="45"><img src="images/back.gif" width="43" height="15" /></td>
                  <td width="45"><img src="images/next.gif" width="43" height="15" /></td>
                  <td width="40"><img src="images/last.gif" width="37" height="15" /></td>
                  <td width="100"><div align="center"><span class="STYLE1">转到第
                    <input name="textfield" type="text" size="4" style="height:12px; width:20px; border:1px solid #999999;" /> 
                    页 </span></div></td>
                  <td width="40"><img src="images/go.gif" width="37" height="15" /></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
